package edu.qd.learn.newchapter.chapter03.isa;


/**
 * @author 布衣
 */
public class Parent {

    public void say(){
        System.out.println("父类说....");
    }

    public static void main(String[] args) {
        Parent p = new Parent();
        p.say();

        Parent p1 = new Son1();
        p1.say();

        Parent p2 = new Son2();
        p2.say();

        Parent p3 = new Son2();
        p3.say();

        // 昨天  200+
        // 1 1  3 10

    }

}
